<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div>
  <input type="text" v-model="msg">
  <h1>{{msg}}</h1>
  <input type="text" :value="msg">
  <input type="button" :value="msg">
  <hr>
  <input type="radio" v-model="gender" value="男">男
  <input type="radio"v-model="gender" value="女">女
    <h2>{{gender}}</h2>

</div>
<script src="../js/vue.js"></script>
<script>
    let v = new Vue({
      el:"div",
      data:{
        msg:"双向绑定测试",
          gender:"男",
      }
    })
</script>
</body>
</html>